UNLOCK UNLOCK releases a file or record locks set by the current user in a multi-user environment. Syntax UNLOCK [ALL] Option All: The ALL clause releases all current locks in all work areas. if it not specified, locks in the current work area only are released.